${h.rails.form(h.rails.url_for(action='email3', title=''), method='get')}

% if c.form_errors:
<h2>Please correct the errors</h2>
% else:
<h2>Enter Email Address</h2>
% endif

% if c.form_errors:
Email Address: ${h.rails.text_field('email', value=c.form_result['email'] or '')}
<p>${c.form_errors['email']}</p>
% else:
Email Address: ${h.rails.text_field('email')}
% endif

${h.rails.submit('Submit')}
${h.rails.end_form()}
